﻿using static XMerp.Controller;

namespace XMerp
{
    public partial class View_Setting : UserControl
    {
        public View_Setting()
        {
            InitializeComponent();

            chkDetCheck.Click += (o, e) => { CtlFactory("View_Setting_chkDetCheck_Click", [chkDetCheck.Checked]); };
            chkDetSend.Click += (o, e) => { CtlFactory("View_Setting_chkDetSend_Click", [chkDetSend.Checked]); };
            btnDefault.Click += (o, e) => { CtlFactory("View_Setting_btnDefault_Click"); };
            btnCheckSave.Click += (o, e) => { CtlFactory("View_Setting_btnCheckSave_Click", [labCheck.Text]); };
            btnSendSave.Click += (o, e) => { CtlFactory("View_Setting_btnSendSave_Click", [labSend.Text]); };
            btnClose.Click += (o, e) => { CtlFactory("View_Setting_btnDefault_Click"); };
        }
    }
}
